package com.sevenstudio.adu.gasing.element;

import org.andengine.entity.scene.Scene;
import org.andengine.entity.scene.background.Background;

import com.sevenstudio.adu.gasing.define.iGameDefines;


public class AScene 
{
	Scene scene;
	
	public AScene(int index)
	{
		Load(index);
	}
	
	public void Load(int index)
	{
		scene = new Scene();
		scene.setColor(iGameDefines.SCENE_GAME[index].getR(),
				iGameDefines.SCENE_GAME[index].getG(), 
				iGameDefines.SCENE_GAME[index].getB(),
				iGameDefines.SCENE_GAME[index].getA());
		
		
	}
	
	public void Unload()
	{
		scene = null;
	}
	
	public Scene theScene()
	{
		return scene;
	}
}
